package com.spic.business.qrcode.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.spic.business.qrcode.domain.GuestCodeKey;
import com.spic.business.qrcode.mapper.GuestCodeKeyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 290512
 * @create 2022-01-12 19:52
 */
@Service
public class GuestCodeKeyService
{
    @Autowired
    private GuestCodeKeyMapper guestCodeKeyMapper;

    public List<GuestCodeKey> guestCodeKeysList(){
        QueryWrapper<GuestCodeKey> sectionQueryWrapper = new QueryWrapper<>();
        List<GuestCodeKey> guestCodeKeys = guestCodeKeyMapper.selectList(null);
        return guestCodeKeys;
    }
}
